package factory.one.pojo;

//阶段 展示块
public class StageVO {
    private String value; //▭-未完成 ▬-完成
    private String color; // inherit-未开始 yellow-准备 green-开始/完成

    public StageVO(String value, String color){
        this.value = value;
        this.color = color;
    }

    public static StageVO notStart(){
        return new StageVO("▭","inherit");
    }

    public static StageVO ready(){
        return new StageVO("▬","yellow");
    }

    public static StageVO start(){
        return new StageVO("▬","green");
    }

    public static StageVO done(){
        return new StageVO("▬","black");
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }
}
